\hypertarget{class_mutex_cond}{\section{Mutex\+Cond类 参考}
\label{class_mutex_cond}\index{Mutex\+Cond@{Mutex\+Cond}}
}


条件变量  




{\ttfamily \#include $<$Mutex.\+h$>$}

\subsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_mutex_cond_add04e63bf6babf50e50a4f7cc967f574}{{\bfseries Mutex\+Cond} (\hyperlink{class_mutex_lock}{Mutex\+Lock} $\ast$lock)}\label{class_mutex_cond_add04e63bf6babf50e50a4f7cc967f574}

\item 
void \hyperlink{class_mutex_cond_a49c1a7068ab1bc8dacb65adae4eae337}{wait} ()
\begin{DoxyCompactList}\small\item\em 等待条件变量 \end{DoxyCompactList}\item 
void \hyperlink{class_mutex_cond_a22ee143fbdd74161248416a4d3d032d5}{meet} ()
\begin{DoxyCompactList}\small\item\em 满足条件变量,通知等待者 \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{详细描述}
条件变量 

\subsection{成员函数说明}
\hypertarget{class_mutex_cond_a22ee143fbdd74161248416a4d3d032d5}{\index{Mutex\+Cond@{Mutex\+Cond}!meet@{meet}}
\index{meet@{meet}!Mutex\+Cond@{Mutex\+Cond}}
\subsubsection[{meet}]{\setlength{\rightskip}{0pt plus 5cm}void Mutex\+Cond\+::meet (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_mutex_cond_a22ee143fbdd74161248416a4d3d032d5}


满足条件变量,通知等待者 

\begin{DoxyNote}{注解}
none 
\end{DoxyNote}
\hypertarget{class_mutex_cond_a49c1a7068ab1bc8dacb65adae4eae337}{\index{Mutex\+Cond@{Mutex\+Cond}!wait@{wait}}
\index{wait@{wait}!Mutex\+Cond@{Mutex\+Cond}}
\subsubsection[{wait}]{\setlength{\rightskip}{0pt plus 5cm}void Mutex\+Cond\+::wait (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_mutex_cond_a49c1a7068ab1bc8dacb65adae4eae337}


等待条件变量 

\begin{DoxyNote}{注解}
执行该方法后线程会阻塞并释放锁,一直等待条件变量. 
\end{DoxyNote}


该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
libemb/inc/\hyperlink{_mutex_8h}{Mutex.\+h}\item 
libemb/src/Mutex.\+cpp\end{DoxyCompactItemize}
